home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacTech 1 to 12
/
MacTech-vol-1-12.toast
/
Source
/
MacTech® Magazine
/
Volume 07 - 1991
/
07.02 Feb 91
/
xserial source ƒ
/
s_len.c
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1989-12-09
|
126 b
|
14 lines
|
[
TEXT/KAHL
]
/* s_len
* returns length of a string
*/
short s_len(s)
char *s;
{
short i;
i = 0;
while (*s++)
i++;
return i;
}